//
//  BaseModel.swift
//  MyFood
//
//  Created by dllo on 16/2/15.
//  Copyright © 2016年 XRG. All rights reserved.
//

import UIKit


class BaseModel: NSObject {

    var myDescription : AnyObject?

    override func setNilValueForKey(key: String) {

    }

    override func setValue(value: AnyObject?, forUndefinedKey key: String) {

        if key == "myDescription"{
            self.myDescription = value
        }
    }

    init(dic:Dictionary<String, AnyObject>) {
        super.init()
        self.setValuesForKeysWithDictionary(dic)
    }
    
}
